# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'SwiftCode' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!
  
  # Pods for SwiftCode
  pod 'SnapKit', '~> 5.6.0'
  pod 'RxSwift', '6.5.0'
  pod 'RxCocoa', '6.5.0'
  pod "RxGesture"
#  pod 'LookinServer'
  pod "GCDWebServer", "~> 3.0"
  pod 'MJRefresh'
  pod 'FLEX', :configurations => ['Debug'] # https://github.com/FLEXTool/FLEX
  pod 'SDWebImage', '~> 5.0'
  pod 'Alamofire'
  pod 'Moya', '~> 15.0'
  pod 'Toast-Swift', '~> 5.0.1'
  pod 'R.swift'
  pod 'lottie-ios'
  pod 'CryptoSwift', '~> 1.8.2'

  target 'Utility' do
    # Pods for SwiftCode
    pod 'SnapKit', '~> 5.6.0'
  end
  
  target 'UtilityTests' do
    inherit! :search_paths
    
    pod 'Quick'
    pod 'Nimble'
  end
end

post_install do |installer|
  installer.generated_projects.each do |project|
    project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
        config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
      end
    end
  end
end
